home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Turnbull China Bikeride
/
Turnbull China Bikeride - Disc 2.iso
/
BARNET
/
FREENET
/
GAMMANS
/
SOCKFS-0.ZIP
/
Faq
< prev
next >
Wrap
Text File
|
1997-08-18
|
1KB
|
30 lines
SocketFS FAQ
============
Ok this is the first release so these questions have'nt been asked yet.
But if I don't put them here I expect they soon will be!
Contents
--------
1. What happens to OOB data
2. BGET#X% never returns
Body?
-----
Q1. What happens to OOB data.
A1. Unless you're specificaly watching event 19 yourself, little.
I do not look for or do any special handling for OOB data.
Q2. BGET#X% never returns.
A2. BGET#X% only returns if there's data waiting to be sent. On Freenet
you can see if there any data waiting by doing *netstat and if the
Recv-Q entry for the socket you're interested is non-zero, there is
data waiting. Otherwise BGET will wait for data from the remote side,
while it is waiting you won't be able to do anything else with
socketfs on this socket. As the calls are blocked by risc-os, so
if you need to prod the remote machine to get the data, prod it before
you run BGET.